package com.qtenv.datasync.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qtenv.datasync.service.entity.Zone;
import com.qtenv.datasync.service.model.ZoneDataModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 层级表 Mapper 接口
 * </p>
 *
 * @author CBL
 * @since 2022-08-02
 */
@Mapper
public interface ZoneMapper extends BaseMapper<Zone> {
    List<ZoneDataModel> getZoneCxclList(@Param("tenantId") String tenantId);
}
